25
Views
3
Comments
Solved
HOW Regex to allow only alahabet, numeric and dot?
Question
Application Type
Reactive

Hi there,

How Regex_search to enable only aphabet (a-z), numeric (0-9) and dot?

ABc is correct

abc333 is correct

abc.999.AC is correct

.ddddd.ddd333 is correct

regards and thanks

2019-01-31 08-54-57
André Costa
Champion
Solution

Hi @Ibox 

You can you try this pattern:

^[a-zA-Z0-9.]+$ 


you can test this here:

https://regex101.com/


AC

2024-07-31 11-32-34
ndy
Solution

Dear @Ibox
This regex pattern allows strings that only consist of the specified characters and ensures that any string with characters outside this set (e.g., special symbols or spaces) will not match. 

^[a-zA-Z0-9.]+$


2019-01-31 08-54-57
André Costa
Champion
Solution

Hi @Ibox 

You can you try this pattern:

^[a-zA-Z0-9.]+$ 


you can test this here:

https://regex101.com/


AC

2024-07-31 11-32-34
ndy
Solution

Dear @Ibox
This regex pattern allows strings that only consist of the specified characters and ensures that any string with characters outside this set (e.g., special symbols or spaces) will not match. 

^[a-zA-Z0-9.]+$


2023-10-12 13-28-43
Marwen Reguigui

@Ibox hello try with this : /^[a-zA-Z0-9_.]$/i

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.