How To Create Regular Expression For Case Insensitive
- Use Simple Regular Expression Syntax - (?i)<Normal Regular Expression>
- (?i) -> Indicates Case Insensitive Regular Expression
- Use Language And Technology To Use Library/Methods/Interface To Pass Additional Parameter As Flag To Determine If Case Sensitive Or Case InSensitive Comparison Is Required.
- FindPattern(<regular expression>, caseSensitiveFlag(True/False))
No comments:
Post a Comment