Try this for two get data:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/(.*)$ profile.php?dataone=$1&datatwo=$2
Try this for three get data:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/(.*)/(.*)$ profile.php?dataone=$1&datatwo=$2&datathree=$3
The above codes work, checked it. Just replace dataone, datatwo, datathree with the data you are passing.