Skip to content

Instantly share code, notes, and snippets.

View misaelvillegas97's full-sized avatar
🏠
Working from home

David Misael Villegas Sandoval misaelvillegas97

🏠
Working from home
View GitHub Profile
@jaimeguaman
jaimeguaman / regex_telefonos_fijos_chile
Last active September 25, 2020 01:29
regex telefonos fijo chile
/^((\+?56\s)?(0?2|0?3[2-5]|0?4[1-5]|0?5[123578]|0?6[13457]|0?7[1235])?(\s2\d{6}|\s\d{6}))$/
'+56 2 2xxxxxx',
'+56 51 2xxxxxx',
'+56 51 xxxxxx',
'56 75 xxxxxx',
'56 051 xxxxxx',
'56 051 2xxxxxx',
'+56 051 2xxxxxx'