If you are a practitioner of regular expressions, you may be knowing, how easy it makes your life while dealing with pattern of strings. Regular Expressions is one topic, I feel, everyone in the software industry –who is even remotely related to programming- should gain mastery over. I can’t tell you enough, how many times regular expressions have came to my rescue.
Smashing Magazine, yesterday published an interesting article on advanced usage for regular expressions. Though the syntax they have used is PHP-Perl compatible but (after some minor changes in syntax) you can use it for VB Scripting needs as well. The underlying concepts behind reg-ex pretty much remains the same for all programming languages.
They have divided the topic into eight sub headings
- Back Referencing: is a way to refer to previously matched patterns inside a regular expression. (One of my favorites)
- Named Groups
- Word Boundaries
- Atomic Groups
- Call backs
Check out the article here.
If you want to keep track of further articles on UFT (QTP). I recommend you to subscribe by Email and have new UFT articles sent directly to your inbox.