What are the regular expression patterns available in Selenium?

Submitted by: Administrator
Selenium regular expression patterns offer the same wide array of special characters that exist in JavaScript. Below are a subset of those special characters

.
any single character

[ ]
character class: any single character that appears inside the brackets

*
quantifier: 0 or more of the preceding character (or group)

+
quantifier: 1 or more of the preceding character (or group)

?
quantifier: 0 or 1 of the preceding character (or group)

{1,5}
quantifier: 1 through 5 of the preceding character (or group)

|
alternation: the character/group on the left or the
character/group on the right

( )
grouping: often used with alternation and/or quantifier
Submitted by: Administrator

Read Online Selenium Job Interview Questions And Answers