Using Regular Expressions with Oracle BPEL:
Sometimes we may have to validate the data based on the Regular Expressions.
xp20:matches() is a function which can be used to compare
data with regular expressions. This function returns true when the input
matches the given expression.
xp20:matches(intputString, regexPattern)
- inputString - The input string
- regexPattern - The regular expression pattern
Validation of numeric fields :
xp20:matches(bpws:getVariableData('inputString'),'^[0-9]*$')=true()
Validation of alpha fields :
xp20:matches(bpws:getVariableData('inputString'),'^[A-Za-z]*$')=true()
Validation for list of values:
xp20:matches(bpws:getVariableData('inputString'),'^(A|B|C|D)$')
=true()
The matches function returns true if inputString variable
contains any one of these values (A, B, C, and D).
The expression can be replaced with other regular
expressions for similar comparisons.
Cloud has beome the common word that is being used by most of the professional these day. The reason for relying on this technology is security. Your content too lecture the same. Thanks for sharing this worth able information in here. Keep blogging article like this.
ReplyDeleteHadoop Training Chennai | Hadoop Training in Chennai | Big Data Training
Really awesome blog. Your blog is really useful for me. Thanks for sharing this informative blog. Keep update your blog.
ReplyDeleteOracle Training In Chennai
I am reading ur post from the beginning, it was so interesting to read & i feel thanks to you for posting such a good blog, keep updates regularly.Best Hadoop Training Institute In Chennai
ReplyDeleteYour posts is really helpful for me.Thanks for your wonderful post. I am very happy to read your post. It is really very helpful for us and I have gathered some important information from this blog. hybris training in hyderabad
ReplyDeleteIn the particular article You might understand how for getting started building net applications IOS Applications Development
ReplyDeleteNice concept. This is useful. Thanks for sharing.
ReplyDeleteWordpress development in chennai
The strategy you have posted on this technology helped me to get into the next level and had lot of information in it. The Struts, Spring, Hibernate are the advanced level of programming language which are most widely used.
ReplyDeletespring training in chennai | spring hibernate training in chennai
The blog you presented was very nice and interesting which helped me to get update on the recent technologies.
ReplyDeleteAngularjs training in chennai | Angularjs course in Chennai
Good post. happy to visit your blog. Thanks for sharing.
ReplyDeleteseo training in Chennai
Nice blog. Keep sharing such a useful post.
ReplyDeleteweb design courses in chennai
Glad to find this post, thanks for sharing such informative articles - LoadRunner Training in Chennai
ReplyDeleteThanks for sharing this informative Articles ! Keep updating your blog -Oracle Apps Finance Training in Chennai
ReplyDeleteThe strategy you posted was nice. The people who want to shift their career to the IT sector then it is the right option to go with the ethical hacking course.
ReplyDeleteEthical hacking course in Chennai | Ethical hacking training in chennai
Nice article, Thank you sir, for sharing with us.
ReplyDeleteload runner training in chennai
I have been reading out a lot of your articles and that i ought to say pretty nice stuff. I will certainly bookmark your internet website
ReplyDeleteDevops Online Training
Wonderful blog.. Thanks for sharing informative blog.. its very useful to me..
ReplyDeleteiOS Training in Chennai
wow thanks for sharing very informative , keep updating more in future too
ReplyDeleteredhat training in chennai | rhce training in chennai | linux training in chennai
Informative article....
ReplyDeleteEmbedded Training in Chennai | Embedded Training Institute in Chennai | Embedded System Training in Chennai | Best Embedded Training in Chennai
Nice post. Very interesting to read. Thank you for Sharing.
ReplyDeleteerp in chennai
Awesome post. Keep updating more information. Web Designing Training Institute in Chennai | Web Designing Training in Velachery.
ReplyDelete