© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
F
Filament
•
2y ago
•
6 replies
Marcos Ferreira
Can i use regex on TextInput::stripCharacters method?
I have one input masked as
'
(99
) 99999
-9999
' and i want remove all non numbers characters
Solution
use
dehydrateStateUsing
and remove non numbers
.
.
Advanced forms - Form Builder - Filament
Jump to solution
Filament
Join
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
stripCharacters() method not found on TextInput
F
Filament / ❓┊help
3y ago
About stripCharacters in TextInput Custom Filter
F
Filament / ❓┊help
2y ago
`->hidden()` method on TextInput field breaks app
F
Filament / ❓┊help
3y ago
Can i use a key/value logic on a textinput field?
F
Filament / ❓┊help
3y ago