So how do I make it only read .jp and only that not ad the g or any other letter after...?
Thanks again!
in this simple case, you don't need regex. Normal string checking will do
pseudocode:
if (mystring == "jp" ){
........
}use the equality operator.