I need to detect if a user enters in an input the characters pl
and a .
Something like this pl.68768768
this pl67687678
or this .6897987
Get it? Whatever is there I should always remove pl.
, pl
or just .
.
I was trying to do it with .includes
like theString.includes('pl.')
, but how can I do it with a regex so it is more dynamic?