Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
Kamend1
Feb 27th, 2025
445
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
JavaScript
0.16 KB
| None
|
0
0
raw
download
clone
embed
print
report
function
solve
(
string
)
{
let regex
=
new
RegExp
(
'[A-Z][a-z]*'
,
'g'
)
;
let wordArr
=
string.
match
(
regex
)
||
[
]
;
console.
log
(
wordArr.
join
(
', '
)
)
;
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Twilight Forest error
1 hour ago | 13.97 KB
Evilcraft error
1 hour ago | 15.79 KB
JAMD error
1 hour ago | 15.78 KB
Untitled
2 hours ago | 11.69 KB
Untitled
6 hours ago | 11.64 KB
Untitled
10 hours ago | 7.44 KB
Untitled
12 hours ago | 7.84 KB
Dimenticatevi del cambio di regime.
13 hours ago | 10.71 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!