
avechuche
-
Posts
42 -
Joined
-
Last visited
Community Answers
-
avechuche's post in StringRegExp problem was marked as the answer
Thank you all, this is the final expression.
Local $aList[7] = ["userName", "u.serName", "u.ser.Name", ".userName", "userName.", "u..serName", "aaa.bbb"] For $i = 0 To UBound($aList) - 1 ConsoleWrite(StringRegExp($aList[$i], '(?i)^([a-z]+)(\.(?1))?$' ) & @TAB & $aList[$i] & @CRLF) Next