Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help Required : In Understanding the regular expression
#1
Not Solved Rolleyes 
Hi All,
Please help me understand below Regular Expressions :
1. "[abc][1-4]*" -- How does this matches "a1234344"? , is it so that this string is considered as "a12-34-34-4" ? If yes how a group of characters , i.e. 34 considered together for matching ?

2. "[123]+" -- How does this matches "12" and "23" ?

3. "\d{2} -- will this match to "00 to 99" or "01 to 99", why ?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Need Any digit in xpath path using Regular expression Priyam 1 3,221 10-05-2016, 11:05 AM
Last Post: Ankur
  Regular expression to read two words in lowercase, uppercase and with and without spa sarahq49 1 3,142 04-09-2015, 01:56 AM
Last Post: sarahq49
  Regular expression and script optimisation Padmavathy 1 3,593 03-30-2015, 11:46 AM
Last Post: supputuri
  Regular expression in descriptive programming testernc 1 16,370 12-08-2014, 06:38 PM
Last Post: anshika.agarwal
  need a regular expression. anu05446 0 2,982 11-26-2014, 03:00 PM
Last Post: anu05446

Forum Jump:


Users browsing this thread: 1 Guest(s)